package com.example.s06.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

@Data
@Component
public class Apple {
    private String name;
    public  void initApple(){
        System.out.println("初始化方法");

    }
    public void destroyApple(){
        System.out.println("销毁apple方法");
    }


}
